-- GENERATED SPELL FOR [Dragonmaw Raider] --


function spell0_1034(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(6533,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1034', 2330, 1)
end

function Sorts_1034(pUnit, Event)
local choix_sorts_1034 = math.random(0, 0)
if choix_sorts_1034 == 0 then
pUnit:RegisterEvent('spell0_1034', 1, 1)
end
end

function mob1034_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1034', math.random(1500, 3000), 1)
end

function mob1034_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1034_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1034_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1034, 1, 'mob1034_Action')
RegisterUnitEvent(1034, 2, 'mob1034_Leave')
RegisterUnitEvent(1034, 3, 'mob1034_Kill')
RegisterUnitEvent(1034, 4, 'mob1034_Die')
